package org.jtorrent;

/**
 * Ryan Thomas
 * r.n.thomas@gmail.com
 *
 * @author ryan
 * @version $Revision$ $Author$ $Date$
 * @since Jun 20, 2009
 */
public class Constants {
    public static final char INTEGER_START = 'i';
    public static final char INTEGER_END = 'e';
    public static final char LIST_START = 'l';
    public static final char LIST_END = 'e';
    public static final char DICTIONARY_START = 'd';
    public static final char DICTIONARY_END = 'e';
    public static final char SEPARATOR = ':';

    public static final String KEY_ANNOUNCE = "announce";
    public static final String KEY_COMMENT = "comment";
    public static final String KEY_CREATION_DATE = "creation date";
    public static final String KEY_INFO = "info";
    public static final String KEY_INFO_PIECE_LENGTH = "piece length";
    public static final String KEY_INFO_LENGTH = "length";
    public static final String KEY_INFO_PIECES = "pieces";
    public static final String KEY_INFO_NAME = "name";
    public static final String KEY_INFO_FILES = "files";
    public static final String KEY_INFO_MD5SUM = "md5sum";
    public static final String KEY_INFO_PATH = "path";

    public static final String TRACKER_INFO_HASH = "info_hash";
    public static final String TRACKER_PEER_ID = "peer_id";
    public static final String TRACKER_PORT = "port";
    public static final String TRACKER_UPLOADED = "uploaded";
    public static final String TRACKER_DOWNLOADED = "downloaded";
    public static final String TRACKER_LEFT = "left";
    public static final String TRACKER_NO_PEER_ID = "no_peer_id";
    public static final String TRACKER_IP = "ip";
    public static final String TRACKER_NUMWANT = "numwant";
    public static final String TRACKER_KEY = "key";
    public static final String TRACKER_TRACKERID = "trackerid";

}
